package com.kehutong.auth.enums;

import org.coraframework.util.HashID;

/**
 * 注册渠道
 */
public enum RegChannel implements HashID {
    MINI_PROGRAM("0", "小程序"),
    WORK_WEIXIN_PROGRAM("1", "企微");
    private final String id;
    private final String desc ;

    private RegChannel(String id, String desc) {
        this.id = id;
        this.desc = desc ;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
